"""
Author        yongfa
Date          2022-07-18 09:21:51
LastEditTime  2023-07-10 11:14:13
LastEditors   yongfa
Description   请求参数
"""


from flask_restx import reqparse
from app.extensions.utils.validator import split_int_list
from app.extensions.utils.parameters import page_params


get_list_params = page_params.copy()
get_list_params.add_argument('user_id', type=int, location='args', help='用户id')
get_list_params.add_argument('module', type=str, location='args', help='模块')
get_list_params.add_argument('remote_addr', type=str, location='args', help='客户端ip')
get_list_params.add_argument('path', type=str, location='args', help='请求路径')
get_list_params.add_argument('data_list', type=split_int_list, location='args', help='数据id列表')
get_list_params.add_argument('status_code', type=int, location='args', help='状态码')
